package top.lucas9.gulimall.product.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 品牌分类关联
 *
 * @author lucas9
 * @email 18188394039@163.com
 * @date 2021-09-02 09:46:10
 */

@TableName("pms_category_brand_relation")
public class CategoryBrandRelationEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId
    private Long id;
    /**
     * 品牌id
     */
    private Long brandId;
    /**
     * 分类id
     */
    private Long catalogId;
    /**
     *
     */
    private String brandName;
    /**
     *
     */
    private String catalogName;

    public CategoryBrandRelationEntity() {
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public Long getCatalogId() {
        return catalogId;
    }

    public void setCatalogId(Long catalogId) {
        this.catalogId = catalogId;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getCatalogName() {
        return catalogName;
    }

    public void setCatalogName(String catalogName) {
        this.catalogName = catalogName;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("CategoryBrandRelationEntity{");
        sb.append("id=").append(id);
        sb.append(", brandId=").append(brandId);
        sb.append(", catalogId=").append(catalogId);
        sb.append(", brandName='").append(brandName).append('\'');
        sb.append(", catalogName='").append(catalogName).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
